package com.itheima.example;

import java.io.File;

public class Example10 {
    public static void main(String[] args) throws Exception {
        File f = new File("src\\com\\itheima\\example");
        if (f.isDirectory()) {
            String[] ss = f.list();
            for (String s : ss) {
                System.out.println(s);
            }
        }
    }
}
